package oop多态作业;

public class Pet {
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private  String name;

    public Pet() {
    }

    public Pet(String name) {
        this.name = name;
    }
    public  void  eat(){

    }
}
